package com.sdtele.tta.models;

import java.sql.Date;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;


public class TaskOut {
	private long id;
	private long ownerId;
	private String title;
	private String description;
	private String createTime;
	private String deadLine;
	private long emergency;
	private long fatherTaskId;
	private int completion;
	private long state;
	private String tags;
	private String updateTime;
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public long getOwnerId() {
		return ownerId;
	}
	public void setOwnerId(long ownerId) {
		this.ownerId = ownerId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getDeadLine() {
		return deadLine;
	}
	public void setDeadLine(String deadLine) {
		this.deadLine = deadLine;
	}
	public long getEmergency() {
		return emergency;
	}
	public void setEmergency(long emergency) {
		this.emergency = emergency;
	}
	public long getFatherTaskId() {
		return fatherTaskId;
	}
	public void setFatherTaskId(long fatherTaskId) {
		this.fatherTaskId = fatherTaskId;
	}
	public int getCompletion() {
		return completion;
	}
	public void setCompletion(int completion) {
		this.completion = completion;
	}
	public long getState() {
		return state;
	}
	public void setState(long state) {
		this.state = state;
	}
	public String getTags() {
		return tags;
	}
	public void setTags(String tags) {
		this.tags = tags;
	}
	public String getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}
	@Override
	public String toString() {
		return "TaskOut [id=" + id + ", ownerId=" + ownerId + ", title=" + title + ", description=" + description
				+ ", createTime=" + createTime + ", deadLine=" + deadLine + ", emergency=" + emergency
				+ ", fatherTaskId=" + fatherTaskId + ", completion=" + completion + ", state=" + state + ", tags="
				+ tags + ", updateTime=" + updateTime + "]";
	}
	

	
}
